package com.transmifacil;
import java.util.Calendar;
import java.util.GregorianCalendar;

import android.content.Context;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.KeyEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.View.OnKeyListener;
import android.view.View.OnTouchListener;
import android.widget.AutoCompleteTextView;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.CompoundButton.OnCheckedChangeListener;
import android.widget.EditText;
import android.widget.TextView;

public class OkListener implements OnKeyListener {
	Context context;
	AutoCompleteTextView llegada;
	AutoCompleteTextView inicial;
	

	public boolean onKey(View v, int keyCode, KeyEvent event) {
		String inicio = inicial.getText().toString();
		String destino =  llegada.getText().toString();
		return false;
	}
	
	
	
	public Context getContext() {
		return context;
	}

	public void setContext(Context context) {
		this.context = context;
	}


	public AutoCompleteTextView getLlegada() {
		return llegada;
	}

	public void setLlegada(AutoCompleteTextView llegada) {
		this.llegada = llegada;
	}

	public AutoCompleteTextView getInicial() {
		return inicial;
	}

	public void setInicial(AutoCompleteTextView inicial) {
		this.inicial = inicial;
	}

	
}
